let proxyJava = '';
let proxyPhp ='';


// 开发环境
if (process.env.NODE_ENV === 'development') {
    proxyJava='/proxyJava/webservice/live_video/index.jsp/v1/'
    proxyPhp='/proxyPhp/controller/v1/public/index.php/'
}
// 线上环境
if (process.env.NODE_ENV === 'production') {
    if(location.host.indexOf('test.')>=0){//test
        proxyJava ='//zhibotest.yl1001.com/webservice/live_video/index.jsp/v1/'
        proxyPhp = '//m5test.yl1001.com/controller/v1/public/index.php/';
    }else{
        proxyJava= '//zhibo.yl1001.com/webservice/live_video/index.jsp/v1/';
        proxyPhp  = '//m5.yl1001.com/controller/v1/public/index.php/';
    }
}
export {
    proxyJava,
    proxyPhp
}